		<ul class="gallery_block_style1">	
			<?php if(!empty($dataGallery)):?>
				<?php foreach($dataGallery as $key => $value):?>
				<?php if($key%3 == 0 && $key !=0) echo '</ul><ul class="gallery_block_style1">';?>
				<li>
					<a href="<?php echo base_url();?>archives/<?php echo $value->gallery_id.'-'.seo_url($value->gallery_name);?>" target="_blank">
						<div class="image">
							<?php echo exec_image(array(
								'folder' => 'gallery',
								'dimension' => '195x96',
								'file_name' => @$value->image->gallery_file_name.'.'.@$value->image->gallery_file_ext,
								'alt' => ''.$value->gallery_name.'',	
								'title' => ''.$value->gallery_name.''	
								)
							);?>
						</div>
					</a>
					<div class="info">
						<a href="<?php echo base_url();?>archives/<?php echo $value->gallery_id.'-'.seo_url($value->gallery_name);?>" target="_blank"><h2><?php echo $value->gallery_name;?></h2></a>
						<p>จำนวน <?php echo $value->image_count;?> รูป</p>
						<p>จำนวนที่ดู <?php echo $value->views;?> ครั้ง</p>
					</div>
				</li>
				<?php endforeach;?>
			<?php else:?>
			<li class="empty">ไม่มีข้อมูล</li>
			<?php endif;?>
		</ul>				
		<div class="pager"><?php echo $pager;?></div>			